package com.pozu.new_retail.dao.model;

import java.io.Serializable;

/**
 * 组团码
 * @author chao
 * @date 2018年4月19日
 */
public class Code implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private Long id;//主键
	
	private Integer appId;
	
	private String code;
	
	private Long userId;
	
	private Integer level;
	
	private Long createdTime;
	
	private Long updatedTime;
	
	private Integer state;
	
	private String referCode;//关联的网红
	
	private Integer charges;//佣金比例
	
	private Integer reduction;//折扣比例

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Long getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Long createdTime) {
		this.createdTime = createdTime;
	}

	public Long getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Long updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getReferCode() {
		return referCode;
	}

	public void setReferCode(String referCode) {
		this.referCode = referCode;
	}

	public Integer getAppId() {
		return appId;
	}

	public void setAppId(Integer appId) {
		this.appId = appId;
	}

	public Integer getCharges() {
		return charges;
	}

	public void setCharges(Integer charges) {
		this.charges = charges;
	}

	public Integer getReduction() {
		return reduction;
	}

	public void setReduction(Integer reduction) {
		this.reduction = reduction;
	}
	
}
